package infod

import (
	"github.com/globalsign/mgo"
)

func (c collInfo) Indexes() []mgo.Index {
	return []mgo.Index{
		mgo.Index{
			Key: []string{"org", "owner"},
			Collation: &mgo.Collation{
				Locale: "zh",
			},
		},
		mgo.Index{
			Key: []string{"columnId"},
		},
		mgo.Index{
			Key: []string{"title"},
		},
		mgo.Index{
			Key: []string{"creator"},
		},
		mgo.Index{
			Key: []string{"status"},
		},
		mgo.Index{
			Key: []string{"tags"},
		},
	}
}
